package handler

import (
	"common_demo/internal/server/handler/demo"
	"common_demo/internal/server/handler/kuber"
	"common_demo/internal/server/handler/ws"
	"context"
)

type Handler struct {
	*ws.WsHandler
	*demo.DemoHandler
	*kuber.KuberHandler
}

func NewServiceHandler(ctx context.Context) *Handler {
	return &Handler{
		WsHandler:    ws.NewWsHandler(),
		DemoHandler:  demo.NewDemoHandler(ctx),
		KuberHandler: kuber.NewKuberHandler(ctx),
	}
}
